from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^xml/tasks/get/(?P<tid>\d+)/$', 'gtdapp.tasks.views.tasks_get_byid'),
    (r'^xml/tasks/get/all/$', 'gtdapp.tasks.views.tasks_get_all'),
    (r'^xml/projects/get/all/$', 'gtdapp.tasks.views.projects_get_all'),
    (r'^xml/categories/get/all/$', 'gtdapp.tasks.views.categories_get_all'),    
    (r'^html/edit/(?P<tid>\d+)/$', 'gtdapp.tasks.views.create_edit_task'),
    (r'^html/create/$', 'gtdapp.tasks.views.create_edit_task'),
    (r'^html/list/$', 'gtdapp.tasks.views.list_tasks'),
)
